package model;

import model.interfaces.IObject;
import model.types.ObjectType;


/**
 * @author mak
 *
 * object, the objects that can be send
 * @param <T> 
 * 
 */

public abstract class Objects implements IObject{

	private static final long serialVersionUID = 3688800044658026350L;	
	private ObjectType objectType;
	
	public Objects(ObjectType type){
		super();
		init(type);		
	}
		
	
	public ObjectType getObjectType() {
		return objectType;
	}
	
	public void setObjectType(ObjectType objectType) {
		this.objectType = objectType;
	}
	
	public void init(ObjectType type)
	{
		this.setObjectType(type);
	}

}
